#import <Foundation/Foundation.h>
#import "BookItem.h"
#import "BookConstants.h"

@protocol CommonDownloadWebServicesProtocol

- (void)onCommonDownloadWebServicesOver:(NSString *)success;
- (void)onCommonDownloadWebServicesFaild:(NSString *)error;

@end


@interface CommonDownloadWebServices : NSObject {
	NSMutableData *webData;
	NSObject<CommonDownloadWebServicesProtocol> *owner;
}

@property (nonatomic, retain) NSMutableData *webData;
@property (nonatomic, retain) NSObject<CommonDownloadWebServicesProtocol> *owner;

- (NSDictionary *)getWebServicesData:(NSString *)code type:(NSString *)type;
- (void)setDelegate:(NSObject<CommonDownloadWebServicesProtocol> *)object;

@end
